import React,{useEffect,useState} from 'react';
import { Space, Table, Tag } from 'antd';
import type { ColumnsType } from 'antd/es/table';
type Iprops = {
  tableData:Array<Object>
  columns:Array<Object>
  children?:React.ReactNode
}
const TableCom: React.FC<Iprops> = (props) =>{
    return (
      <Table columns={props.columns} dataSource={props.tableData} >
          
      </Table>
    )
} ;

export default TableCom;